package com.pig4cloud.ila.platform.service.impl;

import com.pig4cloud.ila.platform.mapper.WelcomeMapper;
import com.pig4cloud.ila.platform.service.WelcomeService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author KonBAI
 * @version 1.0
 * Create by 2020/11/03 03:54
 */
@Service
@RequiredArgsConstructor
public class WelcomeServiceImpl implements WelcomeService {

    private final WelcomeMapper welcomeMapper;

    /**
     * 查询首页信息
     * @return
     */
    @Override
    public Map<String, BigDecimal> totalData() {
        return welcomeMapper.totalData();
    }

}
